home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Merciful 1
/
Merciful - Disc 1.iso
/
software
/
d
/
devpak
/
devpakv3.01kickstartv1.3b.dms
/
devpakv3.01kickstartv1.3b.adf
/
arp
/
prodocs
/
ReadLine
< prev
next >
Wrap
Text File
|
1991-11-20
|
1KB
|
67 lines
ReadLine(31.0) ARP Programmers Manual ReadLine(31.0)
NAME
ReadLine - Get a line from current input.
SYNOPSIS
Count = ReadLine("Address")
d0 A0
FUNCTION
This function reads a line of up to MaxInputBuf characters
from stdin. You must have a buffer available of this size,
or you run the risk of overwriting innocent memory.
MaxInputBuf is defined in arpbase.[h|i].
This function does no editing or echoing of the command
line, although it does guarantee the returned string is null
terminated.
INPUTS
Address - Pointer to a 256 byte buffer to store the input
string in.
RESULT
Count - The actual count of the characters returned.
Address will contain a null terminated string of
Count characters.
BUGS
None known
ADDITIONAL NOTES:
For the convenience of assembly language programs, A0 is
guaranteed to contain the same value on exit as it did on
entry.
SEE ALSO
GADS, EscapeString.
AUTHOR
SDB
Page 1 (printed 2/22/88)